const { contextBridge, ipcRenderer} = require('electron')

contextBridge.exposeInMainWorld('titleView', {
    reviseTitle: (callback) => ipcRenderer.on('revise-title', (e, ...args)=> callback(...args))
})